package homework;

public class Day04Homework2 {
    public static void main(String[] args) {
        /*
        Scanner scan = new Scanner(System.in);
        System.out.println("请选择功能：1存款2取款3查询4退卡");
        int a = scan.nextInt();
        switch(a){
            case 1:
                System.out.println("存款");
                break;
            case 2:
                System.out.println("取款");
                break;
            case 3:
                System.out.println("查询");
                break;
            case 4:
                System.out.println("退卡");
                break;
            default:
                System.out.println("输入有误");
        }
        */
        /*
        int num = (int)(Math.random()*1000+1);
        System.out.println(num);
        Scanner sc = new Scanner(System.in);
        System.out.println("输入一个数：");
        int guess = sc.nextInt();
        while(num != guess) {
            if(guess>num){
                System.out.println("猜大了");
            }else{
                System.out.println("猜小了");
            }
            System.out.println("输入一个数：");
            guess = sc.nextInt();
        }
        System.out.println("猜对了");
        */
        /*
        Scanner sc = new Scanner(System.in);
        int num = (int)(Math.random()*1000+1);
        System.out.println(num);
        int guess;
        do{
            System.out.println("输入一个数");
            guess = sc.nextInt();
            if(guess>num){
                System.out.println("大了");
            }else if(guess<num){
                System.out.println("小了");
            }else{
                System.out.println("对了");
            }
        }while(guess!=num);
        */
        /*
        for(int i=1;i<6;i++){
            System.out.println("行动是成功的阶梯");
        }
        for(int i=1;i<10;i++){
            System.out.println(i+"*9="+i*9);
        }
        for(int i=1;i<10;i+=2){
            System.out.println(i+"*9="+i*9);
        }
        for(int num=9;num>0;num--){
            System.out.println(num+"*9="+num*9);
        }
        int sum=0;
        for(int i=1;i<101;i++){
            sum+=i;
        }
        System.out.println("总数为"+sum);
        */
         /*
        int i;
        for(i=1;i<10;i++){
            if(i%6==0){
                break;
            }
            System.out.println("break:"+i+"*9="+i*9);
        }
        */
        int i;
        for(i=1;i<10;i++){
            if(i%6==0){
                continue;
            }
            System.out.println(i+"*9="+i*9);
        }


    }
}
